package com.six.biz;

import org.springframework.transaction.annotation.Transactional;

import com.six.vo.Tray;


/**
 * ITrayManagementBiz 托盘操作业务接口
 * 
 */
//@Transactional(propagation=Propagation.REQUIRED)
public interface ITrayManagementBiz {
	/**
	 * 根据 id 查询指定托盘
	 * 
	 */
	@Transactional(readOnly=true)
	public Tray findTrayById(String id);
	/**
	 * 根据仓位 id 查询托盘
	 * 
	 */
	@Transactional(readOnly=true)
	public Tray findTrayBySiteId(String siteID);
	/**
	 * 更新托盘信息
	 * 
	 */
	public void updateTray(Tray tray);
	/**
	 * 货物移盘操作,完成后短信通知到客户知晓
	 * 
	 */
	@Transactional(rollbackFor={Exception.class})
	public void changeTray(String optuserId ,String strayId,String dtrayId) throws Exception;
	/**
	 * 托盘调仓，完成后短信通知到客户知晓
	 * 
	 */
	public void moveSite(String optuserId,String trayId,String siteId) throws Exception;


}
